package buttons;

import org.newdawn.slick.Graphics;

public abstract class Button {
	public boolean clicked;
	public int x,y;
	public Button(int X, int Y){
		this.x=X;
		this.y=Y;
	}
	
	public abstract void update(int mx, int my,boolean isMouseDown,int delta);
	public abstract void draw(Graphics g);
	public boolean isClicked(){
		return clicked;
	}
}